package dpatterns.decorator.pizzashop.toppings.impl;

import dpatterns.decorator.pizzashop.pizzas.Pizza;
import dpatterns.decorator.pizzashop.toppings.ToppingDecorator;

public class TomatoSauce extends ToppingDecorator {

	public TomatoSauce(Pizza newPizza) {
		super(newPizza);
		System.out.println("Adding Dough.");
		System.out.println("Adding Sauce.");
	}
	
	public String getDescription() {
		return tempPizza.getDescription()+", Tomato Sauce";
	}

	public double getPrice() {
		return tempPizza.getPrice()+.75;
	}

}
